{% extends "base.html" %}

{% block title %} Login {% endblock %}

{% block content %}
<h1>Login</h1>
{% if failed %}
<h3> Nieudane logowanie </h3>
{% endif %}
<form action="/KinoRezerwacja/login/{{ redirect }}" method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Zaloguj" />
</form>

{% endblock %}
